import facade


class BaseTask(object):
    def __init__(self,logdir):
        self.logger = facade.get_streamlogger()
        # 存储log文件的目录 会在底层自动检查创建
        self.loggerfile = facade.get_filelogger(logdir)


